#ifndef PANELEDMAINWINDOW_H
#define PANELEDMAINWINDOW_H

#include <QMainWindow>
#include <QTabWidget>
#include <QDockWidget>
#include <QObject>
#include <QEvent>
#include <QList>
#include <QMoveEvent>
#include <QMouseEvent>
#include <QApplication>
#include <QVariant>

class PaneledMainWindow : public QMainWindow
{
    Q_OBJECT
public:
    explicit PaneledMainWindow(QWidget *parent = 0);
    void addDockWidget (Qt::DockWidgetArea area, QDockWidget *dockwidget );
    void addDockWidget ( Qt::DockWidgetArea area, QDockWidget * dockwidget, Qt::Orientation orientation );

protected:
    bool eventFilter(QObject *obj, QEvent *ev);
signals:
    
public slots:
private:
    QTabWidget *tabWidget;
    QList<QDockWidget*> *dockWidgetList;
};

#endif // PANELEDMAINWINDOW_H
